package com.ysc.demo

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import com.ysc.plugin.PluginWrapper
import com.ysc.plugin.utility.network.NetWorkManager
import org.json.JSONObject

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        PluginWrapper().initialize(this)
        var t = JSONObject()
        t.put("command","network")
        t.put("category","NetWorkManager")
        t.put("operate","getNetSpeed")
        var uyhj = PluginWrapper.getInstance()
       var yy = PluginWrapper.getInstance()?.executeCommand(t.toString())
        val ewe = 0
    }

    override fun onDestroy() {
        super.onDestroy()
    }
}